//
//  UIImage+image.h
//  项目模板
//
//  Created by ZHM on 14/12/31.
//  Copyright © 2014年 ZHM. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (image)
+ (instancetype)imageWithOriginalName:(NSString *)imageName;
+ (instancetype)imageWithStretchableName:(NSString *)imageName;
/**
 *缩放指定大小
 */
- (UIImage *)imageCompressWithSimple:(UIImage *)image scaledToSize:(CGSize)size;

/**
 * 等比缩放
 */
- (UIImage *)imageCompressWithSimple:(UIImage *)image scale:(float)scale;
@end
